package com.imedway.ihe.dtz.xds.client;

import org.openehealth.ipf.commons.ihe.xds.iti41.Iti41PortType;

import com.imedway.ihe.dd.properties.ItiAddressProps;
import com.imedway.ihe.dd.util.WebserviceUtil;

public class Iti41Client{
	
	static String serviceWsdl ="http://localhost:8080/services/iti41?wsdl";
	static String serviceNamespaceUri ="http://service.ihe.imedway.com/";
	static String serviceLocalPart = "Iti41PortTypeImplService";
	
	public Iti41PortType getClient() {
		ItiAddressProps itiAddressProps=new ItiAddressProps();
		itiAddressProps.setServiceLocalPart(serviceLocalPart);
		itiAddressProps.setServiceNamespaceUri(serviceNamespaceUri);
		Iti41PortType itiPortType = WebserviceUtil.buildWebService(Iti41PortType.class, serviceWsdl,itiAddressProps);
		return itiPortType;		
	};
	
	public void addDocument() {
		Iti41PortType itiPortType = getClient();
		
	}
	
	public void replaceDocument() {
		Iti41PortType itiPortType = getClient();
		
	}
	
	public void appendDocument() {
		Iti41PortType itiPortType = getClient();
		
	}
	
	public void transformDocument() {
		Iti41PortType itiPortType = getClient();
		
	}
	
	public void addFolder() {
		Iti41PortType itiPortType = getClient();
		
	}
	
	public void addDocumentToFolder() {
		Iti41PortType itiPortType = getClient();
		
	}
}
